#pragma once 
#include<iostream>
#include<vector>
#include "marketData.hpp"

class myOrder {
public:
	int tick;
	int placeTick;
	int orderId;
	int finishedTick;
	int placeVolume;
	int filledVolume;
	int cancelledVolume;
	double orderPrice;
	bool isFinished;

};

class orderStatus {
public:
	int bought = { 0 };
	int sold = { 0 };
	int buying = { 0 };
	int selling = { 0 };
	double boughtAmount = { 0 };
	double soldAmount = { 0 };
	double buyingFrozenCash = { 0 };

};

class orderList {
public:
	std::vector<myOrder> order;
	int code;
	int date;
	orderStatus getOrderStatus() {
		orderStatus status;
		return status;
	}

	void update() {

	}
};
